package com.net.xpay.common.domain;


import com.net.common.domain.CommonDomain;
import com.net.xpay.core.enums.CardStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 零工视频核验
 */
@Getter
@Setter
@NoArgsConstructor
public class FlexibleStaffAuthentication extends CommonDomain {

    @ApiModelProperty(notes = "用户id")
    private Long userId;

    @ApiModelProperty(notes = "支付宝uid")
    private String alipayUid;

    @ApiModelProperty(notes = "主体账号")
    private String identity;

    @ApiModelProperty(notes = "主体账号类型")
    private String identityType;

    @ApiModelProperty(notes = "主体账号名称")
    private String identityName;

    @ApiModelProperty(notes = "第三方订单号")
    private String importBizNo;

    @ApiModelProperty(notes = "外部订单号")
    private String outBizNo;

    @ApiModelProperty(notes = "零工卡开卡状态")
    private CardStatus cardStatus;

    @ApiModelProperty(notes = "零工卡号")
    private String employeeCardNo;

    @ApiModelProperty(notes = "开卡时间")
    private LocalDateTime openCardTime;

    @ApiModelProperty(notes = "登录的支付宝账号（不保证不被模糊处理）")
    private String alipayLogonId;

    @ApiModelProperty(notes = "开通链接")
    private String applyLink;

    @ApiModelProperty(notes = "申请的流程实例ID")
    private String flowToken;

    @ApiModelProperty(notes = "小程序开通链接")
    private String miniAppApplyLink;

    @ApiModelProperty(notes = "链接失效时间")
    private LocalDateTime applyLinkExpireTime;

    @ApiModelProperty(notes = "验证结果")
    private String verifyResult;

    @ApiModelProperty(notes = "验证时间")
    private LocalDateTime verifyTime;

    @ApiModelProperty(notes = "通知地址")
    private String notifyUrl;

    @ApiModelProperty(notes = "回跳地址")
    private String returnUrl;

}
